package com.house.service.house;

import com.qiniu.common.QiniuException;
import com.qiniu.http.Response;

import java.io.File;
import java.io.InputStream;

/**
 *七牛云服务
 * @author:lzq
 * @date: 2018/6/13 16:09
 */
public interface IQiniuService {

    Response uploadFile(File file) throws QiniuException;//文件上传

    Response uploadFile(InputStream inputStream) throws QiniuException;//文件流上传

    Response deleteFile(String key) throws QiniuException;

}
